package com.minimoment.model.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * 影讯
 * 与电影的关系是多对一
 * Created by etund on 2014/11/10.
 */
public class Telecine implements Serializable{
    private Long id;
    private String title;
    private String content;
    private String  imagePath;
    private Date time;
    private Movie movie;
    private Set<Little> littles;

    public Set<Little> getLittles() {
        return littles;
    }

    public void setLittles(Set<Little> littles) {
        this.littles = littles;
    }

    public Movie getMovie() {
        return movie;
    }

    public void setMovie(Movie movie) {
        this.movie = movie;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Telecine{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", imagePath='" + imagePath + '\'' +
                ", time=" + time +
                '}';
    }
}
